package com.todo.biz.iface.backend.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.todo.biz.iface.backend.request.DictValue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author azhebuxing
 * @date 2024/12/9 16:25
 * @description
 */
@Data
@Schema(title = "字典详情返回对象",description = "字典详情返回对象")
public class DictDetailResp {
    /**
     * 主键id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(title = "主键id",description = "主键id")
    private Long id;
    /**
     * 业务code
     */
    @Schema(title = "业务code",description = "业务code")
    private String bizCode;
    /**
     * 场景code
     */
    @Schema(title = "场景code",description = "场景code")
    private String sceneCode;
    /**
     * 对应值
     */
    @Schema(title = "对应值",description = "对应值")
    private List<DictValue> values;
}
